package com.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import redis.clients.jedis.Jedis;

/**
 * @author: 一个小菜逼
 * @Date: 2020/4/28
 */
@Component
public class MyService {

    @Autowired
    public Jedis jedis;

    public void test(){
        System.out.println(jedis.set("k1", "v1"));
    }
}
